package com.elong.android.specialhouse.entity;

import com.alibaba.fastjson.annotation.JSONField;

public class RegionResponseData {
	private String composedName;
	private String regionId;
	private String regionNameCn;
	private String parentId;
	private String parentNameCn;
	private String regionIdV4;
	private String ParentIdV4;
	private int regionType;
	private int regionShowType;
	
	@JSONField(name = "composedName")
	public String getComposedName() {
		return composedName;
	}
	
	@JSONField(name = "composedName")
	public void setComposedName(String composedName) {
		this.composedName = composedName;
	}
	
	@JSONField(name = "regionIdV4")
	public String getRegionIdV4() {
		return regionIdV4;
	}
	
	@JSONField(name = "regionIdV4")
	public void setRegionIdV4(String regionIdV4) {
		this.regionIdV4 = regionIdV4;
	}
	
	@JSONField(name = "ParentIdV4")
	public String getParentIdV4() {
		return ParentIdV4;
	}
	
	@JSONField(name = "ParentIdV4")
	public void setParentIdV4(String parentIdV4) {
		ParentIdV4 = parentIdV4;
	}
	@JSONField(name = "regionId")
	public String getRegionId() {
		return regionId;
	}
	
	@JSONField(name = "regionId")
	public void setRegionId(String regionId) {
		this.regionId = regionId;
	}

	@JSONField(name = "regionNameCn")
	public String getRegionNameCn() {
		return regionNameCn;
	}
	
	@JSONField(name = "regionNameCn")
	public void setRegionNameCn(String regionNameCn) {
		this.regionNameCn = regionNameCn;
	}
	
	@JSONField(name = "parentId")
	public String getParentId() {
		return parentId;
	}
	
	@JSONField(name = "parentId")
	public void setParentId(String parentId) {
		this.parentId = parentId;
	}
	
	@JSONField(name = "parentNameCn")
	public String getParentNameCn() {
		return parentNameCn;
	}
	
	@JSONField(name = "parentNameCn")
	public void setParentNameCn(String parentNameCn) {
		this.parentNameCn = parentNameCn;
	}
	
	@JSONField(name = "regionType")
	public int getRegionType() {
		return regionType;
	}
	
	@JSONField(name = "regionType")
	public void setRegionType(int regionType) {
		this.regionType = regionType;
	}

	public String getRegionShowType() {
		if (regionShowType == 0) {
			return "城市";
		} else if (regionShowType == 1) {
			return "行政区";
		} else if (regionShowType == 3) {
			return "景区";
		} else if (regionShowType == 2) {
			return "商圈";
		}
		return "景区";
	}

	public void setRegionShowType(int regionShowType) {
		this.regionShowType = regionShowType;
	}
}
